﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Text;
using LiveCharts;
using LiveCharts.Wpf;
using System.Collections.ObjectModel;

namespace SoftHelper.Model
{
    public class AnalysisProjectDataModel : ViewModelBase
    {
        /// <summary>
        /// 项目行数
        /// </summary>
        private int codeLines;

        public int CodeLines
        {
            get { return codeLines; }
            set { codeLines = value;RaisePropertyChanged("CodeLines"); }
        }

        /// <summary>
        /// 项目字符数
        /// </summary>
        private long projectChars;

        public long ProjectChars
        {
            get { return projectChars; }
            set { projectChars = value;RaisePropertyChanged("ProjectChars"); }
        }

        /// <summary>
        /// 项目文件数量
        /// </summary>
        private int projectFiles;

        public int PropjectFiles
        {
            get { return projectFiles; }
            set { projectFiles = value;RaisePropertyChanged("PropjectFiles"); }
        }


        /// <summary>
        /// 图表数据
        /// </summary>
        private SeriesCollection filePieseries;

        public SeriesCollection FilePieseries
        {
            get { return filePieseries; }
            set { filePieseries = value;RaisePropertyChanged("FilePieseries"); }
        }


        /// <summary>
        /// 项目语言
        /// </summary>
        private ProjectLanguageModel projectLanguage;

        public ProjectLanguageModel ProjectLanguage
        {
            get { return projectLanguage; }
            set { projectLanguage = value;RaisePropertyChanged("ProjectLanguage"); }
        }

        

    }
}
